package com.dxk.pojo;


import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;
import java.util.Map;



public class UserDemo {

    private String username;
    private List<String> hobby;
    private int age;
    private Map<String,String> map;

    @Override
    public String toString() {
        return "UserDemo{" +
                "username='" + username + '\'' +
                ", hobby=" + hobby +
                ", age=" + age +
                ", map=" + map +
                '}';
    }

    public UserDemo() {
    }

    public UserDemo(String name, List<String> hobby, int age, Map<String, String> map) {
        this.username = name;
        this.hobby = hobby;
        this.age = age;
        this.map = map;
    }

    public String getName() {
        return username;
    }

    public void setName(String name) {
        this.username = name;
    }

    public List<String> getHobby() {
        return hobby;
    }

    public void setHobby(List<String> hobby) {
        this.hobby = hobby;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Map<String, String> getMap() {
        return map;
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }
}
